package com.emm.yixun.poss.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 商户表
 *
 */
@TableName("sys_tm_merchant")
public class TmMerchant implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键、自动增长 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 商户名称 */
	@TableField(value = "merchant_name")
	private String merchantName;

	/** 商户编码 */
	@TableField(value = "merchant_code")
	private String merchantCode;

	/** 联系电话 */
	@TableField(value = "contact_tel")
	private String contactTel;

	/** 用作商户登录或商户激活账号 */
	private String email;

	/** 联系人 */
	@TableField(value = "contact_name")
	private String contactName;

	/** 地址 */
	private String address;

	/** 备注 */
	private String remark;

	/** 创建人ID,关联用户表 */
	@TableField(value = "create_user_id")
	private Long createUserId;

	/** 创建时间格式：yyyy-MM-dd HH:mm:ss */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改人ID,关联用户表 */
	@TableField(value = "update_user_id")
	private Long updateUserId;

	/** 修改时间格式：yyyy-MM-dd HH:mm:ss */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否删除:[{key:del_flag,values:[{no:0,alias:UNDEL,remark:否},{no:1,alias:DEL,remark:是}]}] */
	@TableField(value = "del_flag")
	private String delFlag;

	/** [{type:1 电话平台,status:0 未开通，1 已开通},{type:2 有无认筹,status:0 未开通，1 已开通}] */
	@TableField(value = "phone_information")
	private String phoneInformation;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMerchantName() {
		return this.merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getMerchantCode() {
		return this.merchantCode;
	}

	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}

	public String getContactTel() {
		return this.contactTel;
	}

	public void setContactTel(String contactTel) {
		this.contactTel = contactTel;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContactName() {
		return this.contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateUserId() {
		return this.updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getPhoneInformation() {
		return this.phoneInformation;
	}

	public void setPhoneInformation(String phoneInformation) {
		this.phoneInformation = phoneInformation;
	}

}
